import request from '@/utils/request'


// 单位分布接口
export function getDepartmentOrdersCount (params) {
    return request({
        url: '/nsk/generalOverview/getDepartmentOrdersCount',
        method: 'get',
        params
    });
}


// 统计本月每日的督办工单数
export function getDayWorkOrdersCountListByIdc (params) {
    return request({
        url: '/nsk/generalOverview/getDayWorkOrdersCountListByIdc',
        method: 'get',
        params
    })
}

// 督办概览-统计本月和平均每日的督办工单数
export function getMonthAndDayWorkOrdersCountByIdc (params) {
    return request({
        url: '/nsk/generalOverview/getMonthAndDayWorkOrdersCountByIdc',
        method: 'get',
        params
    })
}

// 督办概览-本月工单分类
export function getWorkOrdersCountListByLevel1 (params) {
    return request({
        url: '/nsk/generalOverview/getWorkOrdersCountListByLevel1',
        method: 'get',
        params
    })
}

// 查询每个月的督办工单的统计图
export function getWorkOrdersMonthCountByIdc (params) {
    return request({
        url: '/nsk/generalOverview/getWorkOrdersMonthCountByIdc',
        method: 'get',
        params
    })
}

